| The Python API is compatible with python 3.x. 
| It provides all the GUI's features and more.
| Two options are available for installing the python API:

* Via the NeurEco GUI:
  Click on Python drop-list in the GUI and select Install NeurEco package to python. A window containing all the python environments found on
  the machine will appear. Select the environment to add NeurEco wrapper to it, and click on Install package. This will automatically
  install the python API for the chosen distribution.

  .. figure:: /images/PythonWrapperInstallGUI.png
      :width: 400
      :alt: NeurEco GUI main window
      :align: center

* Via the installation scripts:
  run the Install.py script that comes with the Python package (this will install it in the environment used to run the installation script).
  
.. note::
  * The Python API uses numpy Python library. Make sure it is installed in the used environment.
  * The Python API uses matplotlib Python library. This library will be imported only if the user uses
    the plotting methods (plot_network, plot_compression_coefficients...).
  * The Python API uses TensorFlow 2.x and Keras Python libraries only when exporting to Keras (**neureco2keras**).
  
To work with the Tabular NeurEco models in Python, import **NeurEcoTabular** library:

.. code-block:: python

    from NeurEco import NeurEcoTabular as Tabular
